package com.koocloud.electroplatemanage.auth.service;



import com.koocloud.electroplatemanage.common.pojo.ResponseTemplate;
import com.koocloud.electroplatemanage.pojo.Role;

import java.util.List;
import java.util.Map;



public interface IRoleService {

	Map<String, Object> addRole(Role role);

	Integer updateRole(String id, String roleName,String remarks);

	Integer deleteRole(String id);

	List<Map<String, Object>> selectRole(String id,String roleName);

	Map<String, Object> insertAuthList(String id, String hasAuthList);

	List<Role> selectRoleList();

	Map<String, Object> insertRoleAuthList(Role role);

	Map<String, Object> updateRoleAuthList(String id, String hasAuthList);

	Role selectRoleInfo(Role role);

	Map<String, Object> updateUserRoleList(String id, String hasRoleList);

    Integer addRolePermission(String id, Long chilrdId);


	ResponseTemplate selectRoleFenye(String id, String roleName, int page, int limit);
}
